package com.ljf.daily.makemoneydetail.dto.command;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 赚钱明细记录--模板导入接口  daily_dat_make_money_detail
 *
 * @author LJF
 * @since 2025-09-24
 */
@Data
@ApiModel("赚钱明细记录--模板导入接口")
public class DailyDatMakeMoneyDetailTemplateImportCommand implements Serializable {

    @Valid
    @JsonProperty("dataList")
    @NotNull(message = "数据集合不能为空")
    @ApiModelProperty(value = "数据集合")
    private List<DailyDatMakeMoneyDetailCommand> dataList;

    @JsonProperty("exeNumber")
    @NotNull(message = "执行次数不能为空")
    @ApiModelProperty(value = "执行次数")
    @Min(value = 1, message = "执行次数不能小于1")
    private Integer exeNumber;

}
